package com.xxl.job.hansonxxljob.handler;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @author Hanson
 * @date 2023/2/13 16:44
 */
@Component
public class HansonXxlJob {
    private final static Logger logger = LoggerFactory.getLogger(HansonXxlJob.class);

    /**
     * 我的第一个定时器任务
     */
    @XxlJob("funJobHandler")
    public void funJobHandler() {
        System.out.println("啊~我执行了~~~~");
    }
}
